MAKE MEMBLOCK FROM FILE

Create a memblock from the file specified.

  Syntax
MAKE MEMBLOCK FROM FILE Memblock Number, File Number
  Parameters
Memblock Number
Integer
A open file number
File Number
Integer
The memblock will be the same size as the currently open file, and contain the entire data of the file specified

  Returns

This command does not return a value.

  Description

The memblock will be the same size as the currently open file, and contain the entire data of the file specified. You must specify the file and memblock numbers using integer values.

  Example Code
cls
open to read 1,"memblock.dat"
make memblock from file 1,1
close file 1
do
loop
end
  See also

FILE Commands Menu
Index